#include "../include/boss.h"
#include "../include/employee.h"
#include <string.h>

Boss::Boss() {}

Boss::Boss(int _id, char _name[20], int _DeptId) {
  this->w_ID = _id;
  strcpy(this->w_Name, _name);

  this->w_DeptId = _DeptId;
}

void Boss::showInfo() {
  cout << "职工编号： " << this->w_ID << " \t职工姓名： " << this->w_Name
       << " \t岗位：" << this->getDeptName()
       << " \t岗位职责：管理公司里的所有事务" << endl;
}

string Boss::getDeptName() { return "老板"; }
